package zjitc.service.Impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zjitc.controller.BookCategoryController;
import zjitc.dao.BookCategoryMapper;
import zjitc.po.BookCategory;
import zjitc.service.BookCategoryService;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/26 15:25
 * @description:
 */
@Service
public class CategoryServiceImpl implements BookCategoryService {
@Autowired
  private BookCategoryMapper bookCategoryMapper;

  @Override
  public List<BookCategory> findAllCategory() {
    return bookCategoryMapper.findAllCategory();
  }
}
